﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using RuleCode.Table;

namespace map.member.order
{
    public partial class unpingjia : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                bind1();
            }
        }
        private void bind1()
        {
            lypingjia p1 = lypingjia.Find(" cbuserid = '" + AliApi.appUserId + "' and cbstatus != '取消'");
            GridView1.DataSource = p1.MyTable;
            GridView1.DataBind();

            lypingjia p2 = lypingjia.Find(" cbuseridby = '" + AliApi.appUserId + "' and cbstatus != '取消'");
            GridView2.DataSource = p2.MyTable;
            GridView2.DataBind();
        }
    }
}
